import org.dreamwork.seagragon.*;
import org.dreamwork.seagragon.Runtime;
import org.dreamwork.seagragon.filesystem.FSServletContext;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;

/**
 * Created by IntelliJ IDEA.
 * User: seth
 * Date: 2010-5-5
 * Time: 19:25:50
 */
public class Test {
    public static void main (String[] args) throws Exception {
        FSServletContext context = new FSServletContext ("test", new File ("/home/seth/Projects/java/developersbus/web-test-console/web"), System.out);
        Runtime rt = Runtime.getRuntime (context);
        rt.executeWebPage ("/index.jasmine", System.out);
    }
}